package model.contrainte;

import java.util.List;

public class CreateurContrainteCompetence implements CreateurContrainte{

	public Contrainte creerContrainte(Object[] contenu) {
		List<TypeCompetence> listeCompetence = (List<TypeCompetence>) contenu[0];
		return new ContrainteCompetence(listeCompetence);
	}

	public TypeContrainte getTypeContrainte() {
		return TypeContrainte.COMPETENCE;
	}

}
